package lee.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author xiaodi
 * @since 2021-02-07 21:47:40
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName(value = "a_user")
@ApiModel(value = "com.example.bootsecurity.po.UserPO", description = "PO")
public class UserPO implements Serializable {
    private static final long serialVersionUID = 895407982785944303L;
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 姓名
     */
    @TableField(value = "username")
    private String username;
    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;


}
